import request from '@/utils/request'

// 查询叙词模版列表
export function listThesauriWordModule(query) {
  return request({
    url: '/system/thesauriWordModule/list',
    method: 'get',
    params: query
  })
}

// 查询叙词模版详细
export function getThesauriWordModule(id) {
  return request({
    url: '/system/thesauriWordModule/' + id,
    method: 'get'
  })
}

// 新增叙词模版
export function addThesauriWordModule(data) {
  return request({
    url: '/system/thesauriWordModule',
    method: 'post',
    data: data
  })
}

// 修改叙词模版
export function updateThesauriWordModule(data) {
  return request({
    url: '/system/thesauriWordModule',
    method: 'put',
    data: data
  })
}

// 删除叙词模版
export function delThesauriWordModule(id) {
  return request({
    url: '/system/thesauriWordModule/' + id,
    method: 'delete'
  })
}

// 导出叙词模版
export function exportThesauriWordModule(query) {
  return request({
    url: '/system/thesauriWordModule/export',
    method: 'get',
    params: query
  })
}